using Core;
using SpaceTrader.Core;

namespace SpaceTrader.Tests.Mocks
{
    internal class TestController : IController
    {
        private Game mGame;
        public bool Rendered = false;

        public TestController(Game GameToControl)
        {
            mGame = GameToControl;
        }

        #region IController Members

        public Game Game
        {
            get { return mGame; }
            set { mGame = value; }
        }

        public void Render()
        {
            Rendered = true;
        }

        #endregion
    }
}